package dao;

import com.alibaba.fastjson.JSONArray;
import pojo.Student;

import java.sql.SQLException;
/**
 * 2022.3.16测试成功，由李红玉编写完成
 */
public interface StudentDao {
    //显示学生表全部数据
    public JSONArray allShow() throws SQLException;

    //新增学生表数据
    public int insert(Student student) throws SQLException;

    //删除学生表数据
    public int del_Update(Student student) throws SQLException;

    //修改学生表数据
    public int update(Student student) throws SQLException;

    //学生违纪功能
    public int violation(Student student) throws SQLException;
}
